.vin-progress {
  position: relative;
  display: flex;
  width: 100%;
  .vin-progress-outer {
    flex: 1;
    height: 10px;
    background-color: $progress-outer-background-color;
    border-radius: $progress-outer-border-radius;
    .vin-progress-inner {
      width: 30%;
      height: 100%;
      background: $progress-inner-background-color;
      border-radius: $progress-outer-border-radius;
      -webkit-transition: all 0.4s;
      transition: all 0.4s;
      // position: relative;
      .vin-progress-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #fff;
      }
    }
    .vin-active {
      &::before {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: $progress-outer-border-radius;
        animation: progressActive 2s ease-in-out infinite;
        content: '';
      }
    }
    @keyframes progressActive {
      0% {
        width: 0;
        background: rgba(255, 255, 255, 0.1);
      }
      20% {
        width: 0;
        background: rgba(255, 255, 255, 0.5);
      }
      to {
        width: 100%;
        background: rgba(255, 255, 255, 0);
      }
    }
    &.vin-progress-small {
      height: $progress-small-height;
      .vin-progress-text {
        // top: $progress-small-text-top;
        top: 50%;
        padding: $progress-small-text-padding;
        font-size: $progress-small-text-font-size;
        line-height: $progress-small-text-line-height;
      }
    }
    &.vin-progress-base {
      height: $progress-base-height;
      .vin-progress-text {
        top: 50%;
        padding: $progress-base-text-padding;
        font-size: $progress-base-text-font-size;
        line-height: $progress-base-text-line-height;
      }
    }
    &.vin-progress-large {
      height: $progress-large-height;
      .vin-progress-text {
        top: 50%;
        padding: $progress-large-text-padding;
        font-size: $progress-large-text-font-size;
        line-height: $progress-large-text-line-height;
      }
    }
  }
  .vin-progress-outer-part {
    width: 90%;
  }
  .vin-progress-text {
    min-width: 35px;
    padding: 0 5px;
    font-size: 13px;
    line-height: 1;
  }
  .vin-progress-insidetext {
    position: absolute;
    top: 50%;
    min-width: 0;
    padding: $progress-insidetext-padding;
    background: $progress-insidetext-background;
    border-radius: $progress-insidetext-border-radius;
    transition: all 0.4s;
  }
  .vin-icon-success,
  .vin-icon-fail {
    display: inline-block;
    width: 10px;
    height: 10px;
  }
}
